package com.cqcvc.service;

import com.cqcvc.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author hunter
 * @since 2022-08-04
 */
public interface PermissionService extends IService<Permission> {
    Set<String> getPermissionByUsername(String username);
    List<Permission> selectPermission(String permissionName,Integer isMenu);
    Permission selectPermissionById(Integer id);
    int savePermission(Permission permission);
    int delPermission(Integer id);
    Integer batchDelPermission(List<Integer> ids);

}
